package com.ht.dao;

import com.ht.entity.SysUserEntity;
import lombok.extern.java.Log;

import java.sql.SQLException;

public interface SysUserDAO {

    SysUserEntity queryByUsername(String username) throws SQLException;

    int insert(SysUserEntity sysUserEntity) throws SQLException;

    int update(SysUserEntity sysUserEntity) throws SQLException;

    int delete(Long userid)throws SQLException;

    SysUserEntity queryByUserId(Long userId)throws SQLException;

    int updatePassword(SysUserEntity sysUserEntity)throws SQLException;


}
